package com.htu.tax.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.htu.tax.entity.Driver;
import org.apache.ibatis.annotations.Param;

public interface DriverMapper extends BaseMapper<Driver> {
    Integer isHaveDriver(String DriverName);

    IPage<Driver> selectDriver(@Param("page") Page page,
                               @Param("name") String name);

    //    IPage<Driver> getDriver(Page page);
    Integer changeState(Long id);
}
